const http = require("http");

http
  .createServer(function (request, response) {
    response.writeHead(200, {
      "Content-Type": "application/json;",
      "Access-Control-Allow-Origin": "*",
    });
    response.end("{a:1}");
  })
  .listen(8081);

console.log("Server running at http://127.0.0.1:8081/");
